﻿using System;
using System.Collections.Generic;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class EfficiencyDetailResponseDto
    {
        /// <summary>
        /// 项目id/设备id/用户id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 项目名称/设备号/用户名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 搜索开始时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 搜索结束时间
        /// </summary>
        public string EndTime { get; set; }

        /// <summary>
        /// 整体数据
        /// </summary>
        public EfficiencyStatInfoDto SummaryInfos { get; set; } = new EfficiencyStatInfoDto();

        /// <summary>
        /// 月度明细数据
        /// </summary>
        public List<DetailInfo> MonthlyInfos { get; set; } = new List<DetailInfo>();

        /// <summary>
        /// 日度明细数据
        /// </summary>
        public List<DetailInfo> DailyInfos { get; set; } = new List<DetailInfo>();
    }

    public class EfficiencyStatInfoDto
    {
        /// <summary>
        /// 面积平均工效
        /// </summary>
        public string AvgAreas { get; set; }

        /// <summary>
        /// 楼层平均工效
        /// </summary>
        public string AvgFloors { get; set; }

        /// <summary>
        /// 总测量面积
        /// </summary>
        public string TotalAreas { get; set; }

        /// <summary>
        /// 总测量楼层
        /// </summary>
        public string TotalFloors { get; set; }

        /// <summary>
        /// 总测量工作日
        /// </summary>
        public string WorkDays { get; set; }
    }
}